<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
    <title>ITuyaSmartRequest </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="dc.created" content="2020-03-25">
    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../../../dokka-javadoc-stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
    <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
    <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>

    <script type="text/javascript" src="../../../../../search.js"></script>
    <script async type="text/javascript" src="../../../../../module-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../package-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../type-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../member-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../tag-search-index.js"></script>
</head><body>
<script type="text/javascript">
var pathtoroot = "../../../../../";
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
    <nav role="navigation">
        <div class="fixedNav">
            <!-- ========= START OF TOP NAVBAR ======= -->
            <div class="topNav"><a id="navbar.top">
                <!--   -->
            </a>
                <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
                </div>
                <a id="navbar.top.firstrow">
                    <!--   -->
                </a>
                <ul class="navList" title="Navigation">
    <li><a href="../../../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
            <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>

<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
        </div>
        <div class="navPadding">&nbsp;</div>
        <script type="text/javascript"><!--
        $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
        //-->
        </script>
    </nav>
</header>

<main role="main">
    <div class="header">
        <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html"></a></div>
        <h2 title="Interface ITuyaSmartRequest" class="title">Interface ITuyaSmartRequest</h2>
    </div>
    <div class="contentContainer">
        <!-- <ul class="inheritance">
            <li>java.lang.Object</li>
            <li>
                <ul class="inheritance">
                    <li>adaptation.Adaptation</li>
                </ul>
            </li>
        </ul> TODO inheritance tree -->
        <div class="description">
            <ul class="blockList">
                <li class="blockList">
                    
                    <hr>
                    <pre class="wrap-overflow">

public interface <span class="typeNameLabel"><a href=ITuyaSmartRequest.html>ITuyaSmartRequest</a></span>

                    </pre>
                    <div class="block"><p>The server api calls the common function interface.</p></div>
                </li>
            </ul>
        </div>
        <div class="summary">
            <ul class="blockList">
                <li class="blockList">
                <!-- ======== NESTED CLASS SUMMARY ======== -->
                    
                    <!-- =========== FIELD SUMMARY =========== -->
                    
                    <!-- ======== CONSTRUCTOR SUMMARY ======== -->
                    
                    <!-- =========== ENUM CONSTANT SUMMARY =========== -->
                    
                    <!-- ========== METHOD SUMMARY =========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.summary">
                                <!--   -->
                            </a>
                                <h3>Method Summary</h3>
                                <div class="memberSummary">
                                    <div role="tablist" aria-orientation="horizontal">
                                        <button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button>
                                        <!-- TODO: Instance and Concrete Methods #1118 -->
                                    </div>
                                    <div id="memberSummary_tabpanel" role="tabpanel">
                                    <table aria-labelledby="t0">
                                        <tr>
                                            <th class="colFirst" scope="col">Modifier and Type</th>
                                            <th class="colSecond" scope="col">Method</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>
                                        
                                        <tr id="i0" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaSmartRequest.html#requestWithApiName(String,String,Map,IRequestCallback)>requestWithApiName</a>(String apiName, String version, Map&lt;String, Object&gt; postData, IRequestCallback request) </code>
                                            </th>
                                            <td class="colLast">Deprecated.</td>
                                        </tr>
                                        
                                        <tr id="i1" class="rowColor">
                                            <td class="colFirst"><code>abstract &lt;T&gt; void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaSmartRequest.html#requestWithApiName(String,String,Map,Class,ITuyaDataCallback<T>)>requestWithApiName</a>(String apiName, String version, Map&lt;String, Object&gt; postData, Class&lt;<a href=../../android/device/api/IPropertyCallback.html>T</a>&gt; object, ITuyaDataCallback&lt;T&gt; callback) </code>
                                            </th>
                                            <td class="colLast">Applicable to api interface request with session.</td>
                                        </tr>
                                        
                                        <tr id="i2" class="altColor">
                                            <td class="colFirst"><code>abstract &lt;T&gt; void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaSmartRequest.html#requestWithApiNameWithoutSession(String,String,Map,Class,ITuyaDataCallback<T>)>requestWithApiNameWithoutSession</a>(String apiName, String version, Map&lt;String, Object&gt; postData, Class&lt;<a href=../../android/device/api/IPropertyCallback.html>T</a>&gt; object, ITuyaDataCallback&lt;T&gt; callback) </code>
                                            </th>
                                            <td class="colLast">Applies to api interface requests without session.</td>
                                        </tr>
                                        
                                        <tr id="i3" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaSmartRequest.html#requestWithApiNameWithoutSession(String,String,Map,IRequestCallback)>requestWithApiNameWithoutSession</a>(String apiName, String version, Map&lt;String, Object&gt; postData, IRequestCallback request) </code>
                                            </th>
                                            <td class="colLast">Deprecated.</td>
                                        </tr>
                                        
                                        <tr id="i4" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaSmartRequest.html#onDestroy()>onDestroy</a>() </code>
                                            </th>
                                            <td class="colLast">Cancel all request.</td>
                                        </tr>
                                        
                                        </tbody>
                                    </table>
                                </div>
                                <ul class="blockList">
                                
                                    <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
                                        <!--   -->
                                    </a>
                                        <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
                                        <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
                                            wait, wait, wait</code></li>
                                </ul>
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
        <div class="details">
            <ul class="blockList">
                <li class="blockList">
                    <!-- ========= CONSTRUCTOR DETAIL ======== -->
                    
                    <!-- ============ METHOD DETAIL ========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.detail">
                                <!--   -->
                            </a>
                                <h3>Method Detail</h3>
                                
                                <a id="requestWithApiName(String,String,Map,IRequestCallback)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>requestWithApiName</h4>
                                        <pre class="methodSignature">@Deprecated() abstract void <a href=ITuyaSmartRequest.html#requestWithApiName(String,String,Map,IRequestCallback)>requestWithApiName</a>(String apiName, String version, Map&lt;String, Object&gt; postData, IRequestCallback request)</pre>
                                        <div class="block"><p>Deprecated.</p><p>Replace by <a href=ITuyaSmartRequest.html#requestWithApiName(String,String,Map,Class,ITuyaDataCallback<T>)>requestWithApiName</a></p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="requestWithApiName(String,String,Map,Class,ITuyaDataCallback&lt;T&gt;)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>requestWithApiName</h4>
                                        <pre class="methodSignature"> abstract &lt;T&gt; void <a href=ITuyaSmartRequest.html#requestWithApiName(String,String,Map,Class,ITuyaDataCallback<T>)>requestWithApiName</a>(String apiName, String version, Map&lt;String, Object&gt; postData, Class&lt;<a href=../../android/device/api/IPropertyCallback.html>T</a>&gt; object, ITuyaDataCallback&lt;T&gt; callback)</pre>
                                        <div class="block"><p>Applicable to api interface request with session.</p><p>To call this method, the user needs to log in first.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>apiName</code> - api name</dd>
                                            
                                            
                                            
                                            <dd><code>version</code> - api version</dd>
                                            
                                            
                                            
                                            <dd><code>postData</code> - Post sent data</dd>
                                            
                                            
                                            
                                            <dd><code>object</code> - The Class for json serialization.</dd>
                                            
                                            
                                            
                                            <dd><code>callback</code> - Callback request result.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="requestWithApiNameWithoutSession(String,String,Map,Class,ITuyaDataCallback&lt;T&gt;)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>requestWithApiNameWithoutSession</h4>
                                        <pre class="methodSignature"> abstract &lt;T&gt; void <a href=ITuyaSmartRequest.html#requestWithApiNameWithoutSession(String,String,Map,Class,ITuyaDataCallback<T>)>requestWithApiNameWithoutSession</a>(String apiName, String version, Map&lt;String, Object&gt; postData, Class&lt;<a href=../../android/device/api/IPropertyCallback.html>T</a>&gt; object, ITuyaDataCallback&lt;T&gt; callback)</pre>
                                        <div class="block"><p>Applies to api interface requests without session.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>apiName</code> - api name</dd>
                                            
                                            
                                            
                                            <dd><code>version</code> - api version</dd>
                                            
                                            
                                            
                                            <dd><code>postData</code> - Post sent data</dd>
                                            
                                            
                                            
                                            <dd><code>object</code> - The Class for json serialization.</dd>
                                            
                                            
                                            
                                            <dd><code>callback</code> - Callback request result.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="requestWithApiNameWithoutSession(String,String,Map,IRequestCallback)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>requestWithApiNameWithoutSession</h4>
                                        <pre class="methodSignature">@Deprecated() abstract void <a href=ITuyaSmartRequest.html#requestWithApiNameWithoutSession(String,String,Map,IRequestCallback)>requestWithApiNameWithoutSession</a>(String apiName, String version, Map&lt;String, Object&gt; postData, IRequestCallback request)</pre>
                                        <div class="block"><p>Deprecated.</p><p>Replace by <a href=ITuyaSmartRequest.html#requestWithApiNameWithoutSession(String,String,Map,Class,ITuyaDataCallback<T>)>requestWithApiNameWithoutSession</a></p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="onDestroy()">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockListLast"
                                          >
                                    <li class="blockList">
                                        <h4>onDestroy</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaSmartRequest.html#onDestroy()>onDestroy</a>()</pre>
                                        <div class="block"><p>Cancel all request.</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
    </div>
</main>
<footer role="contentinfo">
    <nav role="navigation">
        <!-- ======= START OF BOTTOM NAVBAR ====== -->
        <div class="bottomNav"><a id="navbar.bottom">
            <!--   -->
        </a>
            <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
            </div>
            <a id="navbar.bottom.firstrow">
                <!--   -->
            </a>
            <ul class="navList" title="Navigation">
    <li><a href="../../../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
        <a id="skip.navbar.bottom">
            <!--   -->
        </a>
        <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
    </nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
    style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>
